package com.aircity.commonuse.egg;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

/**
 * desc : 扭蛋机控制器
 * author : gongfangchao
 * date : 2020/6/5
 * Copyright (c) 2015 jigoon
 **/
@RestController
@RequestMapping("/redis/sSet")
public class TwistedEggController {

    /**
     * 跳转至抽奖页面
     */
    @RequestMapping("/page/index")
    public ModelAndView toIndex(){
        ModelAndView modelAndView = new ModelAndView();
        modelAndView.setViewName("redis/sSet/index");
        return modelAndView;
    }

}
